package com.sophia.menuorder.model;

import java.util.List;


public class Order {
	private User user;
	private List<Dish> dishList;
	private double totalPrice;
	private String time;
	
	
	public Order() {
		
	}

	public Order(User user, List<Dish> dishList, double totalPrice, String time) {
		super();
		this.user = user;
		this.dishList = dishList;
		this.totalPrice = totalPrice;
		this.time = time;
	}


	public User getUser() {
		return user;
	}


	public void setUser(User user) {
		this.user = user;
	}


	public List<Dish> getDishList() {
		return dishList;
	}


	public void setDishList(List<Dish> dishList) {
		this.dishList = dishList;
	}


	public double getTotalPrice() {
		return totalPrice;
	}


	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}


	public String getTime() {
		return time;
	}


	public void setTime(String time) {
		this.time = time;
	}
	
}
